﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Media;

namespace wBooks.Entity
{
    public static class Sessions
    {
        //The current book
        public static readonly Session<string> CurrentBook =
          new Session<string>("CurrentBook", "OurLadyTears.xml");

        // The current position in the book
        public static readonly Session<int> CurrentCharacterIndex =
          new Session<int>("CurrentCharacterIndex", 0);

        // The user-configurable settings
        public static readonly Session<string> Font =
          new Session<string>("Font", "Georgia");
        public static readonly Session<Color> PageColor =
          new Session<Color>("PageColor", Color.FromArgb(0xFF, 0xFF, 0xC8, 0xFF));
        public static readonly Session<Color> TextColor =
          new Session<Color>("TextColor", Colors.Purple);
        public static readonly Session<int> TextSize =
          new Session<int>("TextSize", 28);
    }
}